<?php
namespace Home\Controller;

class ContactController extends HomeController {

    public function index(){
    	$list = M('Onepage')->where('id=2')->find();
    	$this->assign('list',$list);  	
    	$this->display();
    }

    public function save(){
    	$this->all_add('Feedbook');
    }
   
}